package pt.mauromad.guias.bean;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class ItemBean {
	private Long id;
	private Long manifestId;

	@NotNull
	private String description;

	@NotNull
	private String unit;

	@NotNull
	@Min(0)
	private Long unitPrice;

	@NotNull
	@Min(1)
	private Long quantity;

	private String docReference;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getManifestId() {
		return manifestId;
	}

	public void setManifestId(Long manifestId) {
		this.manifestId = manifestId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Long getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Long unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Long getQuantity() {
		return quantity;
	}

	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	public String getDocReference() {
		return docReference;
	}

	public void setDocReference(String docReference) {
		this.docReference = docReference;
	}
}
